Component({
    properties: {
        allLivelistData: {
            value: [],
            type: Array
        }
    },
    data: {
        allLivelistData_activitys1: [],
        allLivelistData_activitys2: [],
        all_colOneHeight: 0,
        all_colTwoHeight: 0
    },
    methods: {
        golistPage: function(a) {
            var t = a.currentTarget.dataset.status, e = a.currentTarget.dataset.id, i = a.currentTarget.dataset.backid;
            3 == t ? wx.navigateTo({
                url: "/packageD/directSeeding/livePage/livePage?id=" + e + "&playerType=live"
            }) : 2 == t ? wx.navigateTo({
                url: "/packageD/directSeeding/foreshow/foreshow?id=" + e
            }) : 4 == t && wx.navigateTo({
                url: "/packageD/directSeeding/livePage/livePage?id=" + e + "&playerType=video&backid=" + i
            });
        },
        onImageLoad: function(a) {
            var t = a.target.dataset.index, e = a.target.dataset.seltype, i = null, l = a.detail.width / a.detail.height;
            if ("AllLivelist" == e) {
                i = this.data.allLivelistData[t];
                var s = this.data.allLivelistData_activitys1, d = this.data.allLivelistData_activitys2;
                this.data.all_colOneHeight <= this.data.all_colTwoHeight ? (this.data.all_colOneHeight += 176 / l + 60, 
                s.push(i)) : (this.data.all_colTwoHeight += 176 / l + 60, d.push(i)), this.setData({
                    allLivelistData_activitys1: s,
                    allLivelistData_activitys2: d
                });
            }
        }
    }
});